package com.meeting.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
public class Orders {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private Integer customerId;
    private Integer roomId;
    private LocalDateTime startTime; // 预订开始时间
    private LocalDateTime endTime; // 预订结束时间
    private LocalDateTime saleTime;
    private LocalDateTime payTime;
    private LocalDateTime cancelTime;
    private LocalDateTime refundTime;
    private String description;
    private Integer status; // 订单状态：（0：待支付，1：已支付，2：进行中，3：已完成，4：已取消，5：已退款 6:退款审核中）
    private BigDecimal price;
    private BigDecimal refundPrice;
}